package hollycrm.com.uip;

import android.databinding.BaseObservable;
import android.databinding.Bindable;

/**
 * Created by aber on 2017/3/2.
 */

public class Config extends BaseObservable {

    private String httpHost;
    private int port;
    private String workNo;
    private String deviceNo;

    public Config(String httpHost, int port, String workNo, String deviceNo) {
        this.httpHost = httpHost;
        this.port = port;
        this.workNo = workNo;
        this.deviceNo = deviceNo;
    }

    @Bindable
    public String getHttpHost() {
        return httpHost;
    }

    @Bindable
    public int getPort() {
        return port;
    }

    @Bindable
    public String getWorkNo() {
        return workNo;
    }

    @Bindable
    public String getDeviceNo() {
        return deviceNo;
    }

    public void setHttpHost(String httpHost) {
        this.httpHost = httpHost;
    }

    public void setPort(int port) {
        this.port = port;
    }

    public void setWorkNo(String workNo) {
        this.workNo = workNo;
    }

    public void setDeviceNo(String deviceNo) {
        this.deviceNo = deviceNo;
    }
}
